#ifndef STARTSCENE_H
#define STARTSCENE_H

#include "Button.h"
#include "Scene.h"

class StartScene : public Scene{
public:
	StartScene(IDirect3DTexture9* background);
	~StartScene();

	SceneRS update(float dt);
	void draw(ID3DXSprite* sprite);
	void drawBackground(ID3DXSprite* sprite);

	void loadTexture();
	void releaseTexture();

private:
	IDirect3DTexture9* mBackTex;
	IDirect3DTexture9* mStory;
	IDirect3DTexture9* mStoryBack;
	IDirect3DTexture9* mLoadMap;
	IDirect3DTexture9* mLoadMapBack;
	IDirect3DTexture9* mHighScore;
	IDirect3DTexture9* mHighScoreBack;
	IDirect3DTexture9* mExitGame;
	IDirect3DTexture9* mExitGameBack;

	Button* btStory;
	Button* btLoadMap;
	Button* btHighScore;
	Button* btExitGame;

	D3DXVECTOR3 mBackgroundPos;
	D3DXVECTOR3 mBackgroundCenter;
	LONG mWidth;
	LONG mHeight;

	float count;
	
};

#endif